
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Using the Graph presentation style</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp226.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp228.htm" >Next</A>
<!-- End Header -->
<A NAME="X-REF352385627"></A><h1>Using the Graph presentation style</h1>
<A NAME="TI7876"></A><p>Instead of embedding a graph in a DataWindow object, you can use
the Graph presentation style to create a DataWindow object that is only
a graph&#8212;the underlying data is not displayed.</p>
<A NAME="TI7877"></A><p>One advantage of the Graph presentation style is that the
graph resizes automatically if users resize the DataWindow
control associated with the graph DataWindow object at runtime.</p>
<A NAME="TI7878"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To use the Graph presentation style:</p>
<ol><li class=fi><p>Select File&gt;New from the menu
bar.</p><p>The New dialog box displays.</p></li>
<li class=ds><p>Select the DataWindow tab.</p></li>
<li class=ds><p>Select the Graph presentation style, then click
OK.</p></li>
<li class=ds><p>On the Choose Data Source for Graph DataWindow
page, specify the data you want retrieved into the DataWindow object. </p><p>For more information, see <A HREF="pbugp160.htm#BFCDDADG">Chapter 18, "Defining DataWindow Objects ."</A></p></li>
<li class=ds><p>On the Define Graph Data page, enter the definitions
for the series, categories, and values, as described in <A HREF="pbugp226.htm#X-REF339707717">"Associating
data with a graph"</A>, and
click Next.</p><p>Note that when using the Graph presentation style, the graph
always graphs all rows; you cannot specify page or group.</p></li>
<li class=ds><p>On the Define Graph Style page, enter a title
for the graph, select a graph type, and click Next.</p></li>
<li class=ds><p>On the Ready to Create Graph DataWindow page,
review your specifications and click Finish.</p><p>A model of the graph displays in the Design view.</p></li>
<li class=ds><p>Specify the properties of the graph, as described
in <A HREF="pbugp228.htm#X-REF352146494">"Defining a graph's
properties "</A>.</p></li>
<li class=ds><p>Save the DataWindow object in a library.</p></li>
<li class=ds><p>Associate the graph DataWindow object with a DataWindow
control on a window or user object.</p><p>At runtime, the graph fills the entire control and resizes
when the control is resized.</p></li></ol>
<br>
